/**
 * User: c3t
 * Date: 14-3-29
 * Time: 下午5:23
 */
define(function(require,exports,module) {
    var $ = require('js/lib/jquery');
    alert(123);
    require("js/lib/core/jquery.uploadfily.js")($);
       $("#attach").uploadify({
           swf:"/cms/resources/css/admin/uploadify.swf",
           uploader:"/cms/upload",
           fileObjName:"attach",
           auto:false
       });
    $("#upload").click(function() {
        $("#attach").uploadify("upload","*");
    });
});